package com.dd.stack.sql.optimize.DO;

import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 处方明细表
 * </p>
 *
 * @author liuxianmeng
 * @since 2025-08-12
 */
@Getter
@Setter
@TableName("prescription")
public class Prescription implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病历ID，外键
     */
    @TableId("mr_id")
    private Long mrId;

    /**
     * 药品ID，外键
     */
    @TableId("med_id")
    private Integer medId;

    /**
     * 用药数量
     */
    private Integer medQuantity;

    /**
     * 用法用量
     */
    private String medDosage;
}
